<?php

class Nuo_View_Helper_FormDate extends Zend_View_Helper_Abstract
{

    public function formDate($name, $value = null, $attribs = null)
    {
        $xhtml = "";
        $id = $name;
        $this -> view -> bottomScript() -> appendScript('$("#' . $id . '").datepicker({dateFormat:$.datepicker.ISO_8601});');
        return $this -> view -> formText($name, $value, $attribs);
    }

}
